package com.itchu.system.dto;

import com.itchu.system.domain.Authority;
import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.List;

@Data
public class AuthorityDto {

    private Long id;

    private String name;

    private String url;

    private Long parentId;

    private Integer isParent;

    private List<Authority> childrenAuthorities;

}
